package cn.ilovese.collect.service.recommend;

import cn.ilovese.collect.vo.NullVO;
import cn.ilovese.collect.vo.ResultVO;
import cn.ilovese.collect.vo.recommend.RecommendRuleHaveNameVO;
import cn.ilovese.collect.vo.recommend.RecommendRuleVO;
import cn.ilovese.collect.vo.task.TaskRecommendVO;

import java.util.List;

public interface RecommendService {

    ResultVO<RecommendRuleVO> createRecommendRule(RecommendRuleVO recommendRuleVO);
    ResultVO<RecommendRuleVO> updateRecommendRule(RecommendRuleVO recommendRuleVO);
    ResultVO<List<RecommendRuleHaveNameVO>> getAllRecommendRules();
    ResultVO<NullVO> deleteRecommendRule(Integer ruleid);
    ResultVO<RecommendRuleVO> getRecommendRuleDetail(Integer ruleid);
    ResultVO<List<TaskRecommendVO>> executeRecommendRule(Integer ruleid, Integer userid);

}
